<?php

namespace App\Domain\HealthHistory\RpcService;

class HealthHistoryService implements HealthHistoryInterface
{
    public function findByAllergyUid($uid)
    {
        $data = (new \App\Domain\HealthHistory\Services\HealthHistoryService())->findByAllergyUid($uid);
        return $data;

    }

    public function findByOperationUid($uid)
    {
        $data = (new \App\Domain\HealthHistory\Services\HealthHistoryService())->findByOperationUid($uid);
        return $data;

    }

    public function findByDiseaseUidAndWhere($param)
    {
        $data = (new \App\Domain\HealthHistory\Services\HealthHistoryService())->findByDiseaseUidAndWhere($param);
        return $data;

    }
}
